package com.ruoyi.ocean.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告主账户业务对象 ocean_account
 *
 * @author linziheng
 * @date 2024-05-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class OceanAccountBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 代理商名称
     */
    @NotBlank(message = "代理商名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String agentName;

    /**
     * 客户名称
     */
    @NotBlank(message = "客户名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cusName;

    /**
     * 广告主id
     */
    @NotNull(message = "广告主id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long advertiserId;

    /**
     * 账户类型
     */
    @NotBlank(message = "账户类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String accountType;
    /**
     * 活跃日期
     */
    private Date activeDate;
    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
